package com.mysiteforme.admin.service.scrap.scrapimpl;
import com.mysiteforme.admin.dao.scrap.ScrapDao;
import com.mysiteforme.admin.entity.ScrapList;
import com.mysiteforme.admin.entity.scrapVO.ScrapChart;
import com.mysiteforme.admin.entity.scrapVO.Stage;
import com.mysiteforme.admin.service.scrap.ScrapService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 报废数据 服务实现类
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class ScrapServiceImpl extends ServiceImpl<ScrapDao, ScrapList> implements ScrapService {

    @Autowired
    private ScrapDao scrapDao;
    
	@Override
	public List<ScrapChart> DailyScrap() {
		// TODO Auto-generated method stub
		return scrapDao.DailyScrap();
	}

	@Override
	public List<ScrapChart> YearScrap() {
		// TODO Auto-generated method stub
		return scrapDao.YearScrap();
	}

	@Override
	public List<ScrapChart> FPCScrap() {
		// TODO Auto-generated method stub
		return scrapDao. FPCScrap();
	}

	@Override
	public List<ScrapChart> ProcessScrap() {
		// TODO Auto-generated method stub
		return scrapDao.ProcessScrap();
	}

	@Override
	public List<ScrapChart> DeatailScrap() {
		// TODO Auto-generated method stub
		return scrapDao.DailyScrap();
	}

	@Override
	public List<ScrapChart> DeatailTScrap() {
		// TODO Auto-generated method stub
		return scrapDao.DeatailTScrap();
	}

	@Override
	public List<ScrapChart> NumTenScrap(String ScrapList) {
		// TODO Auto-generated method stub
		return scrapDao.NumTenScrap( ScrapList);
	}

	@Override
	public List<ScrapChart> byProcessScrapIndex(Map<Object, Object> queryMap) {
		// TODO Auto-generated method stub
		return scrapDao.byProcessScrapIndex(queryMap);
	}

}
